# base image
FROM index.mindcoder.cn/docker/alpine/maven

# MAINTAINER
MAINTAINER zw@sdzw.com

# run command
RUN apk add --no-cache git nodejs && npm install -g cnpm --registry=https://registry.npm.taobao.org
RUN git clone https://gitee.com/yanjingtu/pom-tool.git

WORKDIR /pom-tool
RUN cnpm install

# ports
EXPOSE 3000

# volumes
VOLUME ["/mnt"]

# main command
CMD ["/bin/sh", "./startServer.sh"]

